package com.groupbuying.sysconfig.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zmlmagic
 * @date 2019/8/26 5:14 PM
 * @company 蒙泰互联网公司
 * @des 备注说明
 **/

@RestController
public class ApolloController {
    @Value("${test:ins}")  //默认值test 读不到的情况下 就是ins
    private String toov5;

    @RequestMapping("/getName")
    public String getName() {
        return toov5;
    }
}
